Skip to main content

Add Calendar List

AutomatR.GoogleCalendar.Activities.AddCalendarList

The "Add Calendar List" activity in AutomatR is part of the Google Calendar activities package, enabling you to modify the background color for a specified calendar in your Google Calendar account. This activity streamlines the process of changing the background color of a calendar to enhance visibility and organization.

Properties

NameDescription
Input
Calendar NameSpecifies the name of the calendar for which you want to change the background color. String variables containing the calendar name. This is a required field.
Background ColorSelects the desired background color for your calendar from the available options. Enum variable containing the background color. This is a required field and have possible options: NoColor, Auburn, Black, Blue, BlueGray, Brown, Charcoal, Gray, Green, Indigo, Lime, Mauve, Olive, Orange, Pink, Purple, Red, Steel, Teal and Yellow
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

Validation

The activity validates if the background color is selected. If not, a validation error is raised.

How to use:

  1. Drag and drop the "Add Calendar List" activity onto the workflow.
  2. Configure the properties by providing the necessary details such as Calendar Name and Background Color.
  3. Optionally, configure the delay before starting the activity.
  4. Execute the workflow to change the background color of the specified calendar in your Google Calendar account.

Example:

Consider an example where the "Add Calendar List" activity is used to change the background color of a calendar named "Project Schedule" to "Blue":

Add Calendar List:
Calendar Name: "Project Schedule"
Background Color: Blue
Delay: 2

In this example, the activity modifies the background color of the "Project Schedule" calendar to "Blue". The delay of 2 seconds provides a pause before starting the activity.